$$.Animation.Transition = $$.Class({}, {
	x0: 0
	,x: 0
	,v0: 0
	,v: 0
	,a: 0
	,t: 0
	,constructor: function(config){
		$$.put(this, config);
	}
	,getT: function(){
		//this.a * (t * t) + 2 * this.v0 * t + 2 * (this.x0 - this.x) = 0;
		var delta = (this.v0 * this.v0) - 8 * (this.a * (this.x0 - this.x));
		var t1 = (-this.v0 + Math.sqrt(delta))/(2 * this.a);
		var t2 = (-this.v0 - Math.sqrt(delta))/(2 * this.a);
		return Math.max(t1, t2);
	}
});